package com.gomokult.entity;
/**
 * 对局展示类
 * @author 王沛哲
 */

import java.sql.Timestamp;
import java.util.Date;
public class GameDisplayInfo {
	private Game game;			//对局类对象
	private User user;			//用户类对象
	private String description;	//对局描述
	private Timestamp displayDate;	//日期
	
	/**
	 * 无参构造
	 */
	public GameDisplayInfo() {
		super();
	}

	
	/**
	 * 全参构造
	 */
	public GameDisplayInfo(Game game, User user, String description, Timestamp displayDate) {
		super();
		this.game = game;
		this.user = user;
		this.description = description;
		this.displayDate = displayDate;
	}

	/**
	 * 生成get/set方法
	 */
	public Game getGame() {
		return game;
	}


	public void setGame(Game game) {
		this.game = game;
	}


	public User getUser() {
		return user;
	}


	public void setUser(User user) {
		this.user = user;
	}


	public String getDescription() {
		return description;
	}


	public void setDescription(String description) {
		this.description = description;
	}


	public Date getDisplayDate() {
		return displayDate;
	}


	public void setDisplayDate(Timestamp displayDate) {
		this.displayDate = displayDate;
	}
	

	
}
